package com.xbongbong.pro.customer.pojo;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.constant.PaasConstant;
import com.xbongbong.paas.field.FieldAttrEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2020/4/9 11:08
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class CustomerMainContactPojo implements Serializable {
    private static final long serialVersionUID = -5779529805676693525L;

    private Map<Long, Object> nameMap;
    private Map<Long, JSONArray> phoneMap;

    private FieldAttrEntity phoneAttr;

    private List<FieldAttrEntity> customerFieldList;

    private Map<String, String> lastConnectTimeMap;

    private Map<String,Map<Long, List<JSONObject>>> productAttr2Map;
    public CustomerMainContactPojo() {
        nameMap = new HashMap<>(PaasConstant.DEFAULT_INITIAL_CAPACITY);
        phoneMap = new HashMap<>(PaasConstant.DEFAULT_INITIAL_CAPACITY);
        productAttr2Map = new HashMap<>(PaasConstant.DEFAULT_INITIAL_CAPACITY);
    }
}
